<?php defined('InShopNC') or exit('Access Invalid!');?>
<link rel="stylesheet" type="text/css" href="<?php echo RESOURCE_SITE_URL;?>/js/jquery-ui/themes/ui-lightness/jquery.ui.css"  />
<div class="tabmenu">
  <?php include template('layout/submenu');?>
</div>
<div class="ncsc-form-default">
    <form id="add_form" action="index.php?act=store_promotion_xianshi&op=apply_mobile_home_save" method="post" enctype="multipart/form-data">
      <input type="hidden" name="xianshi_id" value="<?php echo (int)$_GET['xianshi_id'];?>" />
        <input type="hidden" name="xianshi_goods_id" value="<?php echo (int)$_GET['xianshi_goods_id'];?>" />
        <dl>
            <dt>推广图片<?php echo $lang['nc_colon'];?></dt>
            <dd>
                <div class="ncsc-goods-default-pic">
                    <input type="file"  name="goods_image" id="goods_image">  <p class="hint">尺寸240*170像素、大小不超过1M</p>
                </div>
            </dd>
        </dl>

    <div class="bottom">
      <label class="submit-border"><input id="submit_button" type="submit" class="submit" value="<?php echo $lang['nc_submit'];?>"></label>
    </div>
  </form>
</div>
<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL;?>/js/common.js" charset="utf-8"></script>
<script type="text/javascript">
    $(document).ready(function(){
        //页面输入内容验证
        $("#add_form").validate({
            submitHandler:function(form){
              $("#add_form").sumit();
            },
            rules : {
            },
            messages : {
            }
        });
    });
</script>

